<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bai 3.10</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="Bai3_10.php">
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr bgcolor="#066" style="text-align: center; font-weight: bold; font-style: italic; font-size: 24px; color: #FFF;">
    <td colspan="2" nowrap="nowrap">TÌM PHẦN TỬ KHÁC NHAU GIỮA HAI MẢNG</td>
  </tr>
  <tr>
    <td nowrap="nowrap" bgcolor="#99CCCC">Mảng chuỗi thứ nhất:</td>
    <td nowrap="nowrap" bgcolor="#99CCCC"><input name="mangChuoi1" type="text" id="mangChuoi1" value="<?php echo $_POST['mangChuoi1'];?>" size="80%" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap" bgcolor="#99CCCC">Mảng chuỗi thứ hai:</td>
    <td nowrap="nowrap" bgcolor="#99CCCC"><input name="mangChuoi2" type="text" id="mangChuoi2" value="<?php echo $_POST['mangChuoi2'];?>" size="80%" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap" bgcolor="#99CCCC">&nbsp;</td>
    <td nowrap="nowrap" bgcolor="#99CCCC"><input style="background-color:#066" type="submit" name="button" id="button" value="Phân tích hai mảng" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap" bgcolor="#99CCCC">Phần tử chỉ có trong mảng thứ nhất:</td>
    <td nowrap="nowrap" bgcolor="#99CCCC"><input style="color:#00C; font-weight:bold" name="onlyInMang1" type="text" disabled="disabled" id="onlyInMang1" value="<?php echo $onlyInMang1;?>" size="80%" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap" bgcolor="#99CCCC">Phần tử chỉ có trong mảng thứ hai:</td>
    <td nowrap="nowrap" bgcolor="#99CCCC"><input style="color:#00C; font-weight:bold" name="onlyInMang2" type="text" disabled="disabled" id="onlyInMang2" value="<?php echo $onlyInMang2;?>" size="80%" /></td>
  </tr>
  <tr style="text-align: center">
    <td colspan="2" nowrap="nowrap"><span style="text-align: center">(<span style="color: #C00; font-weight: bold;">Ghi chú</span>: Các phần tử trong mảng sẽ cách nhau bằng dấu &quot;,&quot;)</span></td>
    </tr>
</table></form>

</body>
</html>